﻿@{
    ViewBag.Title = "View1";
}


<script src="@Url.Content("~/Scripts/jquery-1.6.2.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery-ui-1.8.11.js")" type="text/javascript"></script>
<script type="text/javascript">
    $(document).ready(function () {
        $("#popupWindow").dialog({
            autoOpen: false,
            title: 'Title',
            width: 500,
            height: 'auto',
            modal: true
        });
    });
    function openPopup() {
        $("#popupWindow").dialog("open");
    }
</script>

<h2>View1</h2>
<div id="popupWindow"></div>